package com.xxg.renrensearch.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface RenrenShopCoreAddressDao {
    @Select("select id,code_id as codeId,parent_id as parentId,name,level,sort from renren_shop_core_address")
    List<RenrenShopCoreAddress> selectAll();
}